<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-image: url('{{ url_for('static', filename='images/bk.jpg') }}');
            background-size: cover;
        }
        form {
            background-color: rgba(255, 255, 255, 0.9);
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        input[type="text"],
        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 3px;
            box-sizing: border-box;
        }
        input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        input[type="submit"]:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<form action="/register" method="post">
    <h2>用户注册</h2>
    <label for="name">姓名：</label>
    <input type="text" id="name" name="name" required><br>

    <label for="email">电子邮件：</label>
    <input type="email" id="email" name="email" required><br>

    <label for="password">密码：</label>
    <input type="password" id="password" name="password" required><br>

    <label for="confirm-password">确认密码：</label>
    <input type="password" id="confirm-password" name="confirm-password" required><br>

    <input type="submit" value="注册">
</form>
</body>
</html>
